<?php

namespace app\api\model;

use think\Db;
use think\Model;
use app\api\model\BaseModel;

class BannerItem extends BaseModel{

	protected $hidden = ['id','img_id','banner_id','delete_time','update_time'];

    public function img(){
    	return $this->belongsTo('Image','img_id','id');
    }
}
